package com.chagee.store.operation.server.feign;

import com.chagee.base.utils.HttpResponse;
import com.chagee.store.operation.common.constant.CommonConstant;
import com.chagee.store.operation.server.model.response.UmuUserResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 霸王功夫-umu服务
 * @Author : hk
 * @Date : 2025/2/28
 */

@FeignClient(CommonConstant.CHAGEE_UMU)
public interface UmuApi {
	/**
	 * 霸王功夫-门店编码查询门店负责人
	 *
	 * @param storeCode 门店编码
	 * @return UmuUserResponse
	 */
	@GetMapping(CommonConstant.UMU_USER)
	HttpResponse<UmuUserResponse> getManagerByStoreCode(@RequestParam(name = "storeCode") String storeCode);
}
